/*
 * Tencent is pleased to support the open source community by making spring-cloud-tencent available.
 *
 * Copyright (C) 2021 Tencent. All rights reserved.
 *
 * Licensed under the BSD 3-Clause License (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * https://opensource.org/licenses/BSD-3-Clause
 *
 * Unless required by applicable law or agreed to in writing, software distributed
 * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations under the License.
 */

package com.tencent.tsf.gateway.core.model;

import java.io.Serializable;

/**
 * @author kysonli
 * 2019/4/10 10:18
 */
public class GroupSecret implements Serializable {

	private static final long serialVersionUID = 4619764526878050813L;


	private String secretId;

	/**
	 * 秘钥值.
	 */
	private String secretKey;

	/**
	 * 秘钥名称.
	 */
	private String secretName;

	/**
	 * API 分组ID.
	 */
	private String groupId;

	/**
	 * 启用/禁用.
	 */
	private String status;


	private String expiredTime;


	public String getSecretId() {
		return secretId;
	}

	public void setSecretId(String secretId) {
		this.secretId = secretId;
	}

	public String getSecretKey() {
		return secretKey;
	}

	public void setSecretKey(String secretKey) {
		this.secretKey = secretKey;
	}

	public String getSecretName() {
		return secretName;
	}

	public void setSecretName(String secretName) {
		this.secretName = secretName;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getExpiredTime() {
		return expiredTime;
	}

	public void setExpiredTime(String expiredTime) {
		this.expiredTime = expiredTime;
	}

	@Override
	public String toString() {
		return "GroupSecret{" +
				"secretId='" + secretId + '\'' +
				", secretKey='" + secretKey + '\'' +
				", secretName='" + secretName + '\'' +
				", groupId='" + groupId + '\'' +
				", status='" + status + '\'' +
				", expiredTime='" + expiredTime + '\'' +
				'}';
	}
}
